
public class Database {

	private Boss manager;
	
	public Database() {
		manager = new Boss("MANAGER", 9999, 0);
		
		Boss b11 = new Boss("B11", 3000, 1);
		Boss b12 = new Boss("B12", 3001, 1);
		Employee secr1 = new Employee("Secr1", 5000, 1);
		
		manager.addEmployee(b11);
		manager.addEmployee(b12);
		manager.addEmployee(secr1);
		
		Boss b21 = new Boss("B21", 2000, 2);
		Employee emp21 = new Employee("Emp21", 1000, 2);
		Employee emp22 = new Employee("Emp22", 1000, 2);
		Employee emp23 = new Employee("Emp23", 1000, 2);
		
		b11.addEmployee(b21);
		b11.addEmployee(emp21);
		b12.addEmployee(emp22);
		b12.addEmployee(emp23);
		
		Employee emp31 = new Employee("Emp31", 1000, 3);
		b21.addEmployee(emp31);
	}
	
	public Boss getManager() {
		return manager;
	}
}
